home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import "CircleView.h"
- #import <appkit/graphics.h>
- #import <dpsclient/psops.h>
- #import <appkit/Control.h>
-
- @implementation CircleView
-
- - resizeCircle:sender
- {
- radius=[radiusSlider floatValue];
- [self display];
- return self;
- }
- - drawSelf:(NXRect *) theRect :(int) rectCount
- {
- PSnewpath();
- PSarc(frame.size.width/2, frame.size.height/2, radius, 0.0, 360);
- PSclosepath();
- PSfill();
-
- return self;
- }
- @end
-